package dreamdancetiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

type DanceSet struct {
	Id          int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`
	OnlyNo      string         `json:"onlyNo" gorm:"column:only_no;type:varchar(100);not null;default:'';comment:设置唯一标签"`
	ValueDetail string         `json:"value" gorm:"column:value_detail;type:varchar(100);not null;default:'';comment:设置的值"`
	StartTime   int64          `json:"start_time" gorm:"column:start_time;type:bigint;default:0;not null;comment:开始时间"`
	EndTime     int64          `json:"end_time" gorm:"column:end_time;type:bigint;default:0;not null;comment:结束时间"`
	Status      int            `json:"status" gorm:"column:status;type:tinyint;default:0;not null;comment:0:未启动;启用1"`
	Described   string         `json:"described" gorm:"column:described;type:varchar(100);not null;default:'';comment:描述"`
	UpdatedAt   time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt   gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
